package com.qiaofang.entity;

import com.qiaofang.common.model.BaseDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "report_external")
public class ReportExternal extends BaseDomain {

    @ApiModelProperty("主键")
    @Column(name = "id")
    private Long id;

    @ApiModelProperty("渠道报备id")
    @Column(name = "report_id")
    private Long reportId;

    @ApiModelProperty("其他系统报备id")
    @Column(name = "report_uuid")
    private String reportUuid;

    @ApiModelProperty("楼盘id")
    @Column(name = "premise_id")
    private Long premiseId;

    @ApiModelProperty("楼盘关联id")
    @Column(name = "premises_uuid")
    private String premisesUuid;

    @ApiModelProperty("系统类型 1:V10")
    @Column(name = "sys_id")
    private String sysId;

    @ApiModelProperty("记录报备完整手机号")
    @Column(name = "report_mobile")
    private String reportMobile;

    @ApiModelProperty("隐号规则:1:全号 2:前三后四")
    @Column(name = "mobile_rule")
    private String mobileRule;

}
